home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / x / xnclds93.lha / os-include_x11.lha / os-include / X11 / Composite.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-02  |  2.1 KB  |  74 lines

  1. /* $XConsortium: Composite.h,v 1.12 91/10/24 13:19:40 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. #ifndef _XtComposite_h
  28. #define _XtComposite_h
  29.  
  30. typedef struct _CompositeClassRec *CompositeWidgetClass;
  31.  
  32. typedef Cardinal (*XtOrderProc)(
  33. #if NeedFunctionPrototypes
  34.     Widget     /* child */
  35. #endif
  36. );
  37.  
  38. _XFUNCPROTOBEGIN
  39.  
  40. extern void XtManageChildren(
  41. #if NeedFunctionPrototypes
  42.     WidgetList         /* children */,
  43.     Cardinal         /* num_children */
  44. #endif
  45. );
  46.  
  47. extern void XtManageChild(
  48. #if NeedFunctionPrototypes
  49.     Widget         /* child */
  50. #endif
  51. );
  52.  
  53. extern void XtUnmanageChildren(
  54. #if NeedFunctionPrototypes
  55.     WidgetList         /* children */,
  56.     Cardinal         /* num_children */
  57. #endif
  58. );
  59.  
  60. extern void XtUnmanageChild(
  61. #if NeedFunctionPrototypes
  62.     Widget         /* child */
  63. #endif
  64. );
  65.  
  66. _XFUNCPROTOEND
  67.  
  68. #ifndef COMPOSITE
  69. externalref WidgetClass compositeWidgetClass;
  70. #endif
  71.  
  72. #endif /* _XtComposite_h */
  73. /* DON'T ADD STUFF AFTER THIS #endif */
  74.